#!/usr/bin/python
import synonyms

s = synonyms
def get(s,ss):
    print(s.nearby(ss, 3)[0])
# distractors = synonyms.nearby("人脸", 3)[0]
# print(distractors)
while True:
    x = input("----:")
    get(s,x)